import request from '@/utils/subOrderForm'


// 发送短信
export function noteList (data) { //短信记录查询
  JSON.stringify(data)
  return request({
    url: '/sms/telinfo',
    method: 'get',
    params : data
  })
}


export function templateList  (id) { // 获取短信模板
    return request({
      url: '/sms/template',
      method: 'get',
      params:id
    })
  }

export function sendMessage  (data) { // 发送单条短信
    return request({
        url: '/sms/telinfo/send',
        method: 'POST',
        data
    })
}

export function sendMessages  (data) { // 发送多条短信
    return request({
        url: '/sms/telinfo/multisend',
        method: 'POST',
        data
    })
}
